package com.cc8w.entity;

import java.io.Serializable;
import java.util.List;

import lombok.Data;

@Data
public class UserActiveEntity implements Serializable {

    private static final long serialVersionUID = 1L;

    private UserEntity userEntity=null;
    private List<String> roles;
    private List<String> permissions;

    public UserActiveEntity(){ }

    public UserActiveEntity(UserEntity userEntity, List<String> roles, List<String> permissions) {
        this.userEntity = userEntity;
        this.roles = roles;
        this.permissions = permissions;
    }

    public UserEntity getUserEntity() {
        return userEntity;
    }

    public void setUserEntity(UserEntity userEntity) {
        this.userEntity = userEntity;
    }

    public List<String> getRoles() {
        return roles;
    }

    public void setRoles(List<String> roles) {
        this.roles = roles;
    }

    public List<String> getPermissions() {
        return permissions;
    }

    public void setPermissions(List<String> permissions) {
        this.permissions = permissions;
    }
}